package com.yzd.otherlearn.jvm;

import com.yzd.otherlearn.util.Print;

public class LoadClassTest4 {
	static class Parent{
		public static int A = 1 ;
		static {
			A = 2 ;
		}
	}
	
	static class Sub extends Parent{
		public static int B = A ;
	}
	
	public static void main(String[] args) {
		Print.print(Sub.B);
	}
}
